/**
 * 
 */
package phoenics.manpads.common.exception;

/**
 * @author Phoenics Chow 
 * on 2018年5月11日
 *
 */
public class BaseErrorCode {
	private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(BaseErrorCode.class);

    //------------------------------------------------------------------------------------------
    // system
    public final static int OK = 200;
    public final static String OK_MSG = "";

    public final static int BAD_REQUEST_FORMAT = 400;
    public final static String BAD_REQUEST_FORMAT_MSG = "参数错误";

    public final static int ACCESS_DENIED = 401;
    public final static String ACCESS_DENIED_MSG = "访问被拒绝";

    public final static int FORBIDDEN = 403;
    public final static String FORBIDDEN_MSG = "没有权限";

    public final static int BAD_NOT_FOUND = 404;
    public final static String BAD_NOT_FOUND_MSG = "信息不存在";

    public final static int SERVER_ERROR = 500;
    public final static String SERVER_ERROR_MSG = "服务器异常";



    public final static int GROUP_BAD_NOT_FOUND = 5000;
    public final static String GROUP_BAD_NOT_FOUND_MSG = "群信息不存在";
}
